extends StaticBody2D

func _on_area_2d_body_entered(body: Node2D) -> void:
	if body.is_in_group("Player"):
		await get_tree().create_timer(1.0).timeout
		var tween = create_tween()
		tween.tween_property(self,"position",Vector2(935,1000),4.0).set_trans(Tween.TRANS_QUINT)
	pass # Replace with function body.
